package sjjg.op;


public class Process{
    private double finishTime;
    private double weightRTime;
    private double rTime;
    private String name;
    private  double toTime;
    private double serveTime;
    private double waitTime;
    private double avgWeightRTIme;

    public double getAvgWeightRTIme() {
        return avgWeightRTIme;
    }

    public void setAvgWeightRTIme(double avgWeightRTIme) {
        this.avgWeightRTIme = avgWeightRTIme;
    }

    public double getrTime() {
        return rTime;
    }

    public void setrTime(double rTime) {
        this.rTime = rTime;
    }
    public double getWaitTime() {
        return waitTime;
    }
    public void setWaitTime(double waitTime) {
        this.waitTime = waitTime;
    }
    public double getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(double finishTime) {
        this.finishTime = finishTime;
    }

    public double getWeightRTime() {
        return weightRTime;
    }

    public void setWeightRTime(double avgRTime) {
        this.weightRTime = avgRTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getToTime() {
        return toTime;
    }

    public void setToTime(double toTime) {
        this.toTime = toTime;
    }

    public double getServeTime() {
        return serveTime;
    }

    public void setServeTime(double serveTime) {
        this.serveTime = serveTime;
    }

    public Process(String name, double toTime, double serveTime) {
        this.name = name;
        this.toTime = toTime;
        this.serveTime=serveTime;
    }

    @Override
    public String toString() {
        return "Process{" +
                "finishTime=" + finishTime +
                ", weightRTime=" + weightRTime +
                ", rTime=" + rTime +
                ", name='" + name + '\'' +
                ", toTime=" + toTime +
                ", serveTime=" + serveTime +
                ", waitTime=" + waitTime +
                ", avgWeightRTIme=" + avgWeightRTIme +
                '}';
    }
}
